import { Base64 } from 'js-base64'
export const baseUrl = 'http://portal.benleiyun.com/bics-admin'
export const wxQrCodeConfig = {
  id: 'erweima',
  // 线上
  appid: process.env.VUE_APP_APPID,
  agentid: process.env.VUE_APP_AGENTID,
  // 线下
  // appid: 'wwb4db7b6e8a506041',
  // agentid: '1000003',
  redirect_uri: encodeURIComponent(process.env.VUE_APP_REDIRECT_URI),
  state: '',
  self_redirect: false,
  href: `data:text/css;base64,${Base64.encode(
    `
        .normalPanel { width: 200px;height: 200px; }
        .impowerBox .qrcode {width: 200px;}
        .impowerBox .title {display: none;}
        .impowerBox .info {display: none;}
        .status_icon {display: none  !important}
        .impowerBox .status {text-align: center;}
    `
  )}`,
  lang: 'zh'
}


